package com.gome.oa.handler;

import javax.swing.JFrame;

import com.teamdev.jexplorer.PopupContainer;
import com.teamdev.jexplorer.PopupHandler;

/**
 *
 * @author: tang li
 * @date: 2016年8月13日
 * @desc: 
 *
 */
public class WindowPopupHandler implements PopupHandler {
	
	private JFrame mainFrame;
	
	public WindowPopupHandler(JFrame mainFrame) {
		super();
		this.mainFrame = mainFrame;
	}

	@Override
	public PopupContainer handlePopup() {
		
		return new WindowPopupContainer(mainFrame);
	}

}
